import { toSuccess, useRedis } from "@sker/core";
import { Core } from "./core";

export default async () => {
    let reds: any[] = [];
    await useRedis(7, async r => {
        const core = new Core(r)
        reds = await core.getDeviceRed(['口令','快币','穿云箭'], '18639118753', 'xxx')
    })
    return toSuccess(reds)
}